<template>
    <div>
        <Card>
            <p slot="title">详情页</p>
            <Alert>
                <Button type="primary" @click="close">返回列表页</Button>
                <span class="ml30">这里是详情页</span>
            </Alert>

        </Card>
    </div>
</template>

<script>
export default {
  // name: 'detail',
  data () {
    return {

    }
  },
  methods: {
    close () {
      this.$emit('close')
      console.log(1)
    }
  }
}
</script>

<style>

</style>
